//
//  CategoryListModel.m
//  NekaPrice
//
//  Created by yu on 2018/6/25.
//  Copyright © 2018年 ma c. All rights reserved.
//

#import "CategoryListModel.h"

@implementation CategoryListModel

+ (CategoryListModel *)ModelWithDic:(NSDictionary *)dic {
    return [[CategoryListModel alloc] initWithDic:dic];
}


- (instancetype)initWithDic:(NSDictionary *)dic {
    if (self = [super init]) {
        _name = dic[@"typename"];
        _url = dic[@"url"];
    }
    return self;
}


@end
